DEW.appRouter = Backbone.Router.extend({
    routes: {
        "home": "displayHome",
        "Quees": "displayQuees",
        "details/:id": "displayDetails",
        "RegistroUser": "displayRegistro",
        "ApoyaProject": "displayProject",
        "panel": "displayPanel",
        "perfil":"displayperfil",
        "*actions": "defaultRoute"
        
    },
    initialize: function()
    {

    },
            
    displayHome: function() {
        var homeController = new DEW.HomeController();
        homeController.render();
    },
            
   displayperfil:function() {
        alert("Hello\nHow are you?");
        var perfilController = new DEW.PerfilController();
        perfilController.render();
   },
           
    displayQuees: function() {
        var WhatIs = new DEW.WhatController();
        WhatIs.render();
    },
    displayDetails: function(id) {
        DEW.itemID = id;
        var detailsController = new DEW.DetailsController();
        detailsController.render();
    },
    displayRegistro: function() {
        var registrocontroller = new DEW.RegistroController();
        registrocontroller.render();
    },
    displayProject: function() {
        var apoyaproject = new DEW.ApoyaProjectController();
        apoyaproject.render();
    },
    displayPanel: function() {
        //   alert("Hello\nHow are you?");
        var panelController = new DEW.PanelController();
        panelController.render();
    },
    defaultRoute: function() {
        this.displayHome();
    }
});